﻿namespace Diploma.Models
{
    public partial class QualificationLevel
    {
        public override string ToString()
        {
            switch (Name.Trim())
            {
                case "Bachelors":
                    return SharedStrings.Bachelors;
                case "Specialists":
                    return SharedStrings.Specialists;
                case "Magisters":
                    return SharedStrings.Magisters;
                default:
                    return null;
            }
        }
    }
}